{extends file="../home.html"}
{block name="title"}{$head_title}{/block}

{block name="css"}
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/front/front_css/refresh_load.css?version={$version}"/>
<link href="__PUBLIC__/Css/front/css/zhonchou_home.css?version={$version}" type="text/css" rel="stylesheet"> -->
<style type="text/css">
body{
	background: #F3F3F3;
	padding-bottom: 2.5rem;
}
.com_header{
	height: 2.2rem;
	font-size: 0.9rem;
	line-height: 1.25rem;
	padding: 0.45rem 0.6rem 0.5rem;
	background: rgba(248,248,248,0.98);
	box-sizing: border-box;
	text-align: center;
	border-bottom: 1px solid #E1E1E1;
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 100;
	color: #575F67;
	font-weight: bold;
}
.com_header .go_back{
	padding: 0.6rem;
	position: absolute;
	left:0;
	top:0;
}
.com_header .go_back .icon_back{
	background: url(/Public/Images/img/icon_return_head.png) no-repeat;
	background-size: 100%  100%;
	width: 0.55rem;
	height: 1.0rem;
	display: block;
}
.reply{
	background: #fff;
	margin-bottom: .5rem;
}
.add_title{
	padding: .65rem .6rem .5rem;
	border-bottom: 1px solid #EFEFEF;
	color: #B4B8B9;
}
.add_title input{
	background: url(/Public/Images/img/icon_tittle@3x.png) no-repeat left center;
	background-size: .8rem .8rem;
	line-height: 1.1rem;
	width: 100%;
	box-sizing: border-box;
	padding-left: 1.2rem;
	font-size: .8rem;
}
.add_main{
	padding:.35rem .6rem .5rem;
}
.add_main textarea{
	width: 100%;
	resize: none;
	line-height: 1rem;
	font-size: .7rem;
	color: #B4B4B4;
}
.icon_upload{
	width: 1.3rem;
	height: 1.3rem;
	background: url(/Public/Images/img/icon_fatie_addpic@3x.png) no-repeat;
	background-size: 100% 100%;
	display: inline-block;
	margin-right: 1rem;
}
.icon_voice{
	width: 1.3rem;
	height: 1.3rem;
	background: url(/Public/Images/img/icon_fatie_yuyin@3x.png) no-repeat;
	background-size: 100% 100%;
	display: inline-block;
}
.fixed_bot{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #FF6600;
	font-size: .9rem;
	padding:.6rem;
	text-align: center;
	color: #FFFFFF;
}
.set_price{
	padding: 1rem .6rem;
	padding-bottom: .25rem;
	background: #fff;
	margin-bottom: .5rem;
}
.set_price h4{
	font-size: .8rem;
	color: #909090;
	margin-bottom: .85rem;
}
.btn_group{
	font-size: 0;
	margin-right: -.5rem;
}
.btn_group .btn{
	font-size: .8rem;
	line-height: 1.1rem;
	color: #FF6600;
	letter-spacing: 0;
	text-align: center;
	border: 1px solid #FF6600;
	border-radius: 2px;
	box-sizing: border-box;
	width: 22%;
	display: inline-block;
	margin-right: 3%;
	margin-bottom: 3%;
	padding: .45rem;
}
.btn_group .btn.active{
	background: #FF6600;
	color: #fff;
}
.btn_group input{
	font-size: .8rem;
	line-height: 1.1rem;
	color: #FF6600;
	letter-spacing: 0;
	text-align: center;
	border: 1px solid #FF6600;
	border-radius: 2px;
	box-sizing: border-box;
	width: 22%;
	display: inline-block;
	margin-right: 3%;
	margin-bottom: 3%;
	padding: .45rem;
}
.btn_group ::-webkit-input-placeholder {
	color:#FF6600;
}
.select_friend{
	padding: .5rem 0;
	background: #fff;
	text-align: center;
	width: 100%;
}
.select_friend a{
	display: flex;
	align-items: center;
	justify-content: center;
}
.icon_yaoqing{
	background: url(/Public/Images/img/icon_fatie_yaoqing@3x.png) no-repeat;
	background-size: 1.5rem 1.5rem;
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
}
.select_friend span{
	font-size: .9rem;
	color: #FF6600;
	letter-spacing: 0;
	margin-left: .5rem;
}
.tips{
	padding: .6rem;
	font-size: .7rem;
	color: #909090;
	margin-bottom: .15rem;
}

/*用户列表*/
.user_list{
	background: #fff;
	padding-left: .6rem;
}
.user_list li{
	border-top: 1px solid #EFEFEF;
	display: flex;
	align-items: center;
	padding-right: .6rem;
	padding-top: .5rem;
	padding-bottom: .5rem;
}
.user_list li img{
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
}
.user_list li .nickname{
	font-size: .7rem;
	line-height: 1rem;
	color: #333333;
	padding: 0 .4rem;
	flex:1;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.icon_delete{
	background: url(/Public/Images/img/icon_fatie_shanchu@3x.png) no-repeat;
	background-size: 1rem 1rem;
	width: 1rem;
	height: 1rem;
	display: inline-block;`
}
</style>
{/block}
{block name="content"}

	
	<div class="com_header">
		<a href="javascript:;" class="go_back"><i class="icon_back"></i></a>发悬赏贴
	</div>
	<form>
		<div class="reply" style="margin-top: 2.2rem">
			<div class="add_title">
				<input type="text" placeholder="添加文章标题">	
			</div>
			<div class="add_main">
				<textarea placeholder="请输入普通内容（支持gif）" rows="3"></textarea> 

				<a href="javascript:;" class="icon_upload"></a>
				<a href="javascript:;" class="icon_voice"></a>
			</div>
		</div>
		<div class="set_price">
			<h4>设置悬赏金额</h4>
			<div class="btn_group">
				<span class="btn active money">0.1元</span>
				<span class="btn money">1.0元</span>
				<span class="btn money">2.0元</span>
				<span class="btn money">5.0元</span>
				<span class="btn money">10.0元</span>
				<span class="btn money">15.0元</span>
				<span class="btn money">20.0元</span>
				<input type="text" placeholder="自定义">
			</div>
		</div>

		<div class="select_friend">
			<a href="/Index/my_follow"><i class="icon_yaoqing"></i><span>邀请用户</span></a>
		</div>
		<ul class="user_list">
			<li>
				<img src="/Public/Images/img/Mask@3x.png" alt="">
				<span class="nickname">花花世界</span>
				<i class="icon_delete"></i>
			</li>
			<li>
				<img src="/Public/Images/img/Mask@3x.png" alt="">
				<span class="nickname">花花世界</span>
				<i class="icon_delete"></i>
			</li>
			<li>
				<img src="/Public/Images/img/Mask@3x.png" alt="">
				<span class="nickname">花花世界</span>
				<i class="icon_delete"></i>
			</li>
			<li>
				<img src="/Public/Images/img/Mask@3x.png" alt="">
				<span class="nickname">花花世界</span>
				<i class="icon_delete"></i>
			</li>
		</ul>
	</form>
	<!-- 后台富文本显示 -->
	<div class="tips">
		1、请在5天内采纳一个“最佳答案”<br>
		2、如果5天内无人回答，您可以申请退款<br>
		3、所有围观用户的消耗将有50%分配给您，另50%计入到赏金总额。<br>
	</div>
	<div class="fixed_bot"> 
		发表
	</div>
{/block}
{block name="js"}

{literal}
	
<script>
//选择金额
$('.money').on('click',function(){
	$(this).addClass('active').siblings().removeClass('active')
})
//删除选中的人
$('.user_list').on('click','.icon_delete',function(){
	$(this).parent().remove()
})
//
</script>
{/literal}
{/block}